翻訳と辞書 |
Integer square root : ウィキペディア英語版 | Integer square root In number theory, the integer square root (isqrt) of a positive integer ''n'' is the positive integer ''m'' which is the greatest integer less than or equal to the square root of ''n'', : For example, because and . ==Algorithm== One way of calculating and is to use Newton's method to find a solution for the equation , giving the iterative formula : The sequence converges quadratically to as . It can be proven that if is chosen as the initial guess, one can stop as soon as : to ensure that
抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Integer square root」の詳細全文を読む
スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース |
Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.
|
|